/-docs
/-editor
CodeMirrorEditor.ts
CompletionCodeMirrorEditor.ts
CssEditorType.ts
Editor.ts
EditorType.ts
HtmlEditorType.ts
JavaScriptEditorType.ts
TypeScriptEditorType.ts
x-last-PlainTextEditorType.ts
/-files
/-files-old
/-imports
/-layout
/-storage
/-tests ...
/-tests/files
/-tests/storage
TestCase.html
TestCase.ts
TestPage.css
TestPage.html
TestPage.ts
_sampleTests.ts
teapo-tests.html
teapo-tests.ts
/-typings
codemirror.d.ts
knockout.d.ts
typescriptServices.d.ts
websql.d.ts
zip.js.d.ts
TypeScriptService.ts
functions.ts
ko.ts
persistence.api.ts
persistence.ts
shell.ts
teapo.html
teapo.ts
xxxxxxxxxx
1
<!doctype html>
2
<html>
3
<head>
4
<title>Teapo tests v0.4h</title>
5
<meta name="viewport" content="width=800">
6
<style data-path='/tests/TestPage.css'>###tests/TestPage.css###</style>
7
</head>
8
<body>
9
10
11
12
13
<!-- Knockout HTML templates -->
14
<script id=TestPage data-path='/tests/TestPage.html' type='text/html'>###tests/TestPage.html###</script>
15
<script id=TestCase data-path='/tests/TestCase.html' type='text/html'>###tests/TestCase.html###</script>
16
17
18
<!--Knockout and CodeMirror (latter needed for execution of some static init code)-->
19
<script data-path='/imports/codemirror/codemirror.js'>###imports/codemirror/codemirror.js###</script>
20
<script data-path='/imports/knockout/knockout-3.0.0.js'>###imports/knockout/knockout-3.0.0.js###</script>
21
22
<script id=teapo-script>###teapo.ts:build###</script>
23
24
<!-- stick it in late, so all the script errors have valid line numbers -->
25
<div class=teapo-page></div>
26
27
<script>
28
  if (!teapo || !teapo.testApp) {
29
    alert('teapo.testApp undefined');
30
//     try {
31
      var teapoScript = document.getElementById('teapo-script');
32
      eval(teapoScript.innerHTML);
33
//     }
34
//     catch (error) {
35
//       alert(error.message+' '+(error.stack ? error.stack : error));
36
//     }
37
  }
38
  else {
39
    teapo.testApp.run();
40
  }
41
</script>
42
43
</body>
0:0